@model Everynet.Models.signUpModel
Dear<br /><br />
Your plan have been chnaged.<br /><br />
<b><u>User Detail:</u></b>
<br />
<table style="width:100%;">
      @foreach (var data in ViewBag.AllData)
      {
          <tr>
          <td style="width:20%;background-color: #F3F3F3;border-spacing: 2px; padding: 6px;">Name:</td>
          <td style="width:30%;background-color: #DDDDDD;border-spacing: 2px; padding: 6px;"><b>@data.Title &nbsp;
           @data.FirstName&nbsp;
           @data.LastName</b></td>
           <td style="width:20%;background-color: #F3F3F3;border-spacing: 2px; padding: 6px;">Mobile:</td>
          <td style="width:30%;background-color: #DDDDDD;border-spacing: 2px; padding: 6px;"> <b>@data.MobileNumber</b></td>
           </tr>
          
           <tr>
          <td style="width:20%;background-color: #F3F3F3;border-spacing: 2px; padding: 6px;">Email:</td>
          <td style="width:30%;background-color: #DDDDDD;border-spacing: 2px; padding: 6px;">  <b>@data.Email</b></td>
          <td style="width:20%;background-color: #F3F3F3;border-spacing: 2px; padding: 6px;">Service Address:</td>
          <td style="width:30%;background-color: #DDDDDD;border-spacing: 2px; padding: 6px;"> <b>@data.ServiceAddress</b></td>
          </tr>
          
           <tr>
          <td style="width:20%;background-color: #F3F3F3;border-spacing: 2px; padding: 6px;">Service Phone number:</td>
          <td style="width:30%;background-color: #DDDDDD;border-spacing: 2px; padding: 6px;"><b> @data.ServicePhoneNumber</b></td>
          <td style="width:20%;background-color: #F3F3F3;border-spacing: 2px; padding: 6px;">Username:</td>
          <td style="width:30%;background-color: #DDDDDD;border-spacing: 2px; padding: 6px;"> <b> @data.UserName</b></td>
          </tr>
          
          
           <tr>
          <td style="width:20%;background-color: #F3F3F3;border-spacing: 2px; padding: 6px;">ADSL:</td>
          <td style="width:30%;background-color: #DDDDDD;border-spacing: 2px; padding: 6px;"> <b>@data.ADSLName</b></td>
          <td style="width:20%;background-color: #F3F3F3;border-spacing: 2px; padding: 6px;">Plan Name:</td>
          <td style="width:30%;background-color: #DDDDDD;border-spacing: 2px; padding: 6px;"><b> @data.PlanDetailName</b></td>
          </tr>
          
           <tr>
          <td style="width:20%;background-color: #F3F3F3;border-spacing: 2px; padding: 6px;">Quota:</td>
          <td style="width:30%;background-color: #DDDDDD;border-spacing: 2px; padding: 6px;"> <b>@data.PlanQuotaValue&nbsp;@data.PlanQuotaInterval</b></td>
          <td></td>
          <td></td>
          </tr>
      }

      </table>
      <br />

<b><u>Order Detail:</u></b>
<br />

<div>
    <table style="width: 70%;">
        <tr>
            <td width="55%" style="font-size: 16px;background-color: #F3F3F3;border-spacing: 2px; padding: 10px;">
   
                Product Summary
            </td>
            <td width="15%" style="font-size: 16px;background-color: #DDDDDD;border-spacing: 2px; padding: 10px;">
                Setup Fee
            </td>
            <td width="15%" style="font-size: 16px;background-color: #CCCCCC;border-spacing: 2px; padding: 10px;">
                Per Month
            </td>
            <td width="15%" style="font-size: 16px;background-color: #BBBBBB;border-spacing: 2px; padding: 10px;">
                Total Cost
            </td>
        </tr>
    </table>
    <br />
    <table style="width: 70%;">
        <tr>
            <td width="55%" style="font-size: 0.85em;background-color: #F3F3F3;border-spacing: 2px; padding: 10px;">
                <b>@ViewBag.AllOrderData.Name on @ViewBag.AllOrderData.ServicePhoneNumber</b>
                <br />
                <br />
                <b>@ViewBag.AllOrderData.PlanDetailName</b><span style="font-size: 13px;text-align: left;">plan</span>
    
                <br />
                <span style="font-size: 13px;text-align: left;">on a</span> <b>@ViewBag.AllOrderData.PlanQuotaValue @ViewBag.AllOrderData.PlanQuotaInterval</b>
                <span style="font-size: 13px;text-align: left;">contract</span>
            </td>
            <td width="15%" style="font-size: 0.85em;background-color: #DDDDDD;border-spacing: 2px; padding: 10px;">
                $@ViewBag.AllOrderData.SetupCost
                <br />
                <span  style="font-size: 13px;text-align: left;">setup</span>
            </td>
            <td width="15%" style="font-size: 0.85em;background-color: #CCCCCC;border-spacing: 2px; padding: 10px;">
              $<span>@ViewBag.AllOrderData.Price</span> 
                <br />
                <span  style="font-size: 13px;text-align: left;">per month</span>
            </td>
            <td width="15%" style="font-size: 0.85em;background-color: #BBBBBB;border-spacing: 2px; padding: 10px;">
                <span  style="font-size: 13px;text-align: left;">from</span>
                <br />
                <b>$@ViewBag.AllOrderData.TotalCost</b>
                <br />
                <span  style="font-size: 13px;text-align: left;">over @ViewBag.AllOrderData.PlanQuotaValue</span>
                <br />
                <span  style="font-size: 13px;text-align: left;">@ViewBag.AllOrderData.PlanQuotaInterval</span>
            </td>
        </tr>
    </table>

    @* Dynamic Loop Start*@
     @foreach (var item in @ViewBag.AllOrderData.listSummaryModel)
     {
     <table style="width: 70%;">
      <tr>
            <td width="55%" style="font-size: 0.85em;background-color: #F3F3F3;border-spacing: 2px; padding: 10px;">
                <b>@item.SubExtrasName</b>
                <br />
                <br />
                <b>@item.SubExtrasDetailName</b> <span style="font-size: 13px;text-align: left;">plan</span>
                <br />
                <span style="font-size: 13px;text-align: left;">on a</span> <b>@item.ExtraPlanQuotaValue @item.ExtraPlanQuotaInterval</b>
                <span style="font-size: 13px;text-align: left;">contract</span>
            </td>
            <td width="15%" style="font-size: 0.85em;background-color: #DDDDDD;border-spacing: 2px; padding: 10px;">
                $@item.SubExtrasSetupFee
                <br />
                <span style="font-size: 13px;text-align: left;">setup</span>
            </td>
            <td width="15%" style="font-size: 0.85em;background-color: #CCCCCC;border-spacing: 2px; padding: 10px;">
                $<span>@item.SubExtrasDetailPrice</span>
                <br />
                <span style="font-size: 13px;text-align: left;">per month</span>
            </td>
            <td width="15%" style="font-size: 0.85em;background-color: #BBBBBB;border-spacing: 2px; padding: 10px;">
                <span style="font-size: 13px;text-align: left;">from</span>
                <br />
                <b>$@((item.ExtraPlanQuotaValue*item.SubExtrasDetailPrice) + item.SubExtrasSetupFee)</b>
                <br />
                <span style="font-size: 13px;text-align: left;">over @item.ExtraPlanQuotaValue</span>
                <br />
                <span style="font-size: 13px;text-align: left;">@item.ExtraPlanQuotaInterval</span>
            </td>
        </tr>
     </table>
     }
      @* Dynamic Loop End*@
      <br />
      <b><u>Agreement:</u></b>
<br />
      <span style="font-size:13px;text-align:left;">
   
@Html.Raw(ViewBag.AllAgreement.Agreement)
</span>
    
    @if (ViewBag.AllAgreement != null)
    {
     @* Dynamic Loop Start*@
    <table style="width:100%;">
    @foreach (var item in ViewBag.AllAgreement.listDynamicAgreement)
    {
        <tr>
        <td>
        <h3> @item.SubExtrasname :</h3>
        </td>
        </tr>
       <tr>
       <td>
         @Html.Raw(item.Agreement)
       </td>
       </tr>
    }
    </table>
    }
   
   </div>
<br />